#ifndef CLEDMATRIX_H
#define CLEDMATRIX_H

#include <stdint.h>
#include "cledMatrixAngle.h"
#include "cledMatrixRGB.h"
#include "Curve/hsv.h"
//class cledMatrix
//{
//public:
//    cledMatrix();
//    //void Spiral(void);    // 螺旋效果
//};

#ifdef __cplusplus
extern "C" {
#endif

struct cledMatrixParams {
    double time;
    unsigned int FPS;
    unsigned int Speed;
    unsigned int Slider2Val;
    unsigned int shape;
    double progress;
    uint32_t background;
    int frequency;
    hsv_t hsv;
//    double cos_time;
//    double sin_time;

//    double cos_reverse_time;
//    double sin_reverse_time;
};

extern void cledMatrixInit(void);

extern struct cledMatrixParams mParams;
#ifdef __cplusplus
}
#endif

#endif // CLEDMATRIX_H
